
#############################################################################################################
cd /usr1/EcmaCI/openharmony-master/arkcompiler/ets_runtime
js_runtime_current_commit_id=`git rev-parse --short HEAD`
echo "$js_runtime_current_commit_id"
js_runtime_current_commit_href="https://gitee.com/openharmony/arkcompiler_ets_runtime/commit/`git rev-parse HEAD`"
echo "$js_runtime_current_commit_href"

cd /usr1/EcmaCI/shell/262Test
sed -i "s#js_runtime_current_commit_href#$js_runtime_current_commit_href#" build_commit_table.wip
sed -i "s#js_runtime_current_commit_id#$js_runtime_current_commit_id#" build_commit_table.wip

#############################################################################################################

cd /usr1/EcmaCI/openharmony-master/arkcompiler/runtime_core
runtime_core_current_commit_id=`git rev-parse --short HEAD`
echo "$runtime_core_current_commit_id"
runtime_core_current_commit_href="https://gitee.com/openharmony/arkcompiler_runtime_core/commit/`git rev-parse HEAD`"
echo "$runtime_core_current_commit_href"

cd /usr1/EcmaCI/shell/262Test
sed -i "s#runtime_core_current_commit_href#$runtime_core_current_commit_href#" build_commit_table.wip
sed -i "s#runtime_core_current_commit_id#$runtime_core_current_commit_id#" build_commit_table.wip

#############################################################################################################
cd /usr1/EcmaCI/openharmony-master/arkcompiler/ets_frontend
ts2abc_current_commit_id=`git rev-parse --short HEAD`
echo "$ts2abc_current_commit_id"
ts2abc_current_commit_href="https://gitee.com/openharmony/arkcompiler_ets_frontend/commit/`git rev-parse HEAD`"
echo "$ts2abc_current_commit_href"

cd /usr1/EcmaCI/shell/262Test
sed -i "s#ts2abc_current_commit_href#$ts2abc_current_commit_href#" build_commit_table.wip
sed -i "s#ts2abc_current_commit_id#$ts2abc_current_commit_id#" build_commit_table.wip

